package ldh.im.business.constant;

import ldh.common.mybatis.ValuedEnum;

public enum ArticleType implements ValuedEnum<Integer> {
    title(1, "标题"),
    title_picture(2, "标题+主图"),
    title_picture_big(3, "标题+大主图"),
    title_picture_subTitle(4, "标题+主图+子标题"),
    title_picture_subP2(5, "标题+主图+2小图"),
    title_picture_subP3(6, "标题+主图+3小图"),
    title_picture_subP4(7, "标题+主图+4小图"),
    title_picture_subP6(8, "标题+主图+6小图"),
    title_picture_subP8(9, "标题+主图+8小图"),
    title_subTitle(10, "标题+子标题"),
    picture(11, "主图"),
    ;

    private Integer value;
    private String desc;

    private ArticleType(Integer value, String desc){
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
